c program to print the total digits in a given number